package com.cq.hd.admin.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.cq.hd.common.serialize.Decimal2Serializer;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class AdminBusinessInfoVo implements Serializable {

    @ApiModelProperty(value = "商家id")
    private Long id;

    @ApiModelProperty(value = "商家编号")
    private String businessNo;

    @ApiModelProperty(value = "会员到期时间")
    @JSONField(format="yyyy.MM.dd HH:mm:ss")
    private LocalDateTime memberExpireTime;

    @ApiModelProperty(value = "商家名称")
    private String businessName;

    @ApiModelProperty(value = "商家logo")
    private String logo;

    @ApiModelProperty(value = "补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal subsidyAmt;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format="yyyy.MM.dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "活动发布次数")
    private Integer activeCount;

    @ApiModelProperty(value = "最后登录时间")
    @JSONField(format="yyyy.MM.dd HH:mm:ss")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "结算类型：1-自建账户 2-结算池账户")
    private Integer financialAccountType;

    @ApiModelProperty(value = "待支付补贴金额")
    private BigDecimal waitPaySubsidyAmt;

    @ApiModelProperty(value = "待充值补贴金额")
    private BigDecimal waitRechargeSubsidyAmt;
}
